home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ya Dunno Dick!
/
Ya Dunno Dick (1997)(VCA Interactive)[PC-Mac].iso
/
mac
/
dick
/
SAFE_SEX.INF
< prev
next >
Wrap
Text File
|
1997-08-12
|
4KB
|
131 lines
DefineVariables
;;******************************************************
;; Install of You Don't Know Dick! software for windows
;;******************************************************
Text [CompanyName] := VCA Interactive
Text [ProductName] := You Don't Know Dick!
Text [ProductName1] := You Don't Know Dick! for windows 3.11
Text [ProductName2] := You Don't Know Dick! for windows 95/NT
Text [ProductName3] := Install QuickTime 2.1.2 16 bits
Text [ProductName4] := Install QuickTime 2.1.2 32 bits
Text [TopLine] := " INSTALLING [ProductName] "
Text [ExpressSetupDescription] := Install [ProductName]
Text [LogoBitMap] := VCA.BMP
Text [ReadFile] := VCAREAD.WRI
Text [ReadCmdLine] := write.exe
Text [ReadPath]
Text [IconFile] := VCA.ICO
Text [IconPath]
Text [ProgFile1] := 16.exe
Text [ProgPath1]
Text [ProgFile2] := 32.exe
Text [ProgPath2]
Text [ProgFile3] := QT16.EXE
Text [ProgPath3]
Text [ProgFile4] := QT32.EXE
Text [ProgPath4]
EndDefineVariables
Procedure DDENonFatalErrorTrap
;; Purpose of DDENonFatalErrorTrap:
;; If a procedure with this name is present in the script and a non-fatal
;; Program Manager DDE error occurs, then this procedure will be executed.
;;
;; Possible Text Error Codes Are:
;; ddeExec%s failed (NOTE: the "%s" is replaced by error types)
;; ddeInitiate failed
;; pmAddItem failed
;; pmClose failed
;; pmCreateGroup failed
;;
;; To trap a DDENonFatalError and respond to it, use the following code
;; [Number1] := PositionOf "PMAddItem" in DDENonFatalError
;; If [Number1] > 0
;; Dialog
;; NonFatal error in AddItem occurred
;; Error Text : DDENonFatalError
;; EndDialog
EndProcedure
;; Setup logo and screen
SetDefaultBitmap off
LoadBitMap 1 [LogoBitMap]
ShowBitMap 1 @xy(420,320)
SetBackgroundColor 0 0 255 0 0 64 TopToBottom
ShowWindow Maximized
Dialog
Installation of "[ProductName]" is completely non-invasive.
A new icon and/or program group, "[CompanyName]", will be
created in your program manager.
Please press "OK" to proceed with "[ProductName]" installation.
EndDialog
Dialog WhiteOnBlue
**********************WARNING**********************
QuickTime ver. 1.0 and ver. 2.1.2 are incompatible.
For your convenience you may install or un-install
QuickTime ver. 2.1.2 from the "QuickTime for Windows" Program Group.
Please press "OK" to proceed with "[ProductName]" installation.
EndDialog
;;**************************************************
;;Find the files for the program and icons
;;**************************************************
[IconPath] := FullPathTo [IconFile] Origin=[InstallFromDrive]:\PC Quietly
[ReadPath] := FullPathTo [ReadFile] Origin=[InstallFromDrive]:\PC Quietly
[ProgPath1] := FullPathTo [ProgFile1] Origin=[InstallFromDrive]:\PC Quietly
[ProgPath2] := FullPathTo [ProgFile2] Origin=[InstallFromDrive]:\PC Quietly
[ProgPath3] := FullPathTo [ProgFile3] Origin=[InstallFromDrive]:\PC Quietly
[ProgPath4] := FullPathTo [ProgFile4] Origin=[InstallFromDrive]:\PC Quietly
;;**************************************************
;; Create the windows program group.
;;**************************************************
ProgramManagerDDe
CreateGroup([CompanyName])
ReplaceItem([CompanyName])
DeleteItem([ProductName1])
AddItem([ProgPath1],[ProductName1],[IconPath])
DeleteItem([ProductName2])
AddItem([ProgPath2],[ProductName2],[IconPath])
DeleteItem([ProductName3])
AddItem([ProgPath3],[ProductName3])
DeleteItem([ProductName4])
AddItem([ProgPath4],[ProductName4])
AddItem([ReadPath],[ReadFile])
EndProgramManagerDDE
;; Exit dialog box and messages
Dialog
[ProductName] installation is complete.
Enjoy!
EndDialog
Dialog PressAKey WhiteOnBrown
Thanks again and best wishes. You'll find new
information in file VCAREAD.WRI
EndDialog
EndScript